/*
 * @Author: 'yangyuhang1203' '2621131059@qq.com'
 * @Date: 2025-07-16 19:13:33
 * @LastEditors: 'yangyuhang1203' '2621131059@qq.com'
 * @LastEditTime: 2025-07-16 19:14:40
 * @FilePath: \企业级作业代码\Java03\Change.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
public class Change{
  public static void main(String[] args){
    BigDecimal money=new BigDecimal("2.0");
    BigDecimal cost=new BigDecimal("1.1");
    BigDecimal change=money.subtract(cost);
    System.out.println("找零: "+change);
  }   
}